package homework;

public class Person {
	private String name;
	private String goodsName;
	private int price;
	public Person() {
	}
	public Person(String name, String goodsName, int price) {
		this.name = name;
		this.goodsName = goodsName;
		this.price = price;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getGoodsName() {
		return goodsName;
	}
	public void setGoodsName(String goodsName) {
		this.goodsName = goodsName;
	}
	public int getPrice() {
		return price;
	}
	public void setPrice(int price) {
		this.price = price;
	}
	
}
